package com.isoftstone.merchant.dao.operator;

import com.isoftstone.common.Page;
import com.isoftstone.merchant.entity.operator.MOperator;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MOperatorMapper {

    int deleteByPrimaryKey(String operatorId);

    int insert(MOperator record);

    int insertSelective(MOperator record);

    MOperator selectByPrimaryKey(String operatorId);

    int updateByPrimaryKeySelective(MOperator record);

    int updateByPrimaryKey(MOperator record) throws Exception;

    List<MOperator> getOperatorlistPage(Page page) throws Exception;

    MOperator getMOperatorByMOperatorId(String operatorId) throws Exception;
}